Skip to content

Commit

Permalink
Rename to bitwise
Browse files Browse the repository at this point in the history
  • Loading branch information
XuShaohua committed Apr 22, 2024
1 parent c00b102 commit 299dc25
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
resolver = "2"

members = [
"bit_manipulation",
"bitwise",
"conversions",
"deque",
"graph",
Expand Down
2 changes: 1 addition & 1 deletion bit_manipulation/Cargo.toml → bitwise/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "bit_manipulation"
name = "bitwise"
version = "0.1.0"
edition = "2021"
publish = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
// Use of this source is governed by General Public License that can be found
// in the LICENSE file.

use bit_manipulation::count_number_of_one_bits::{
brian_kernighans_algorithm, builtin, modulo_operator,
};
use bitwise::count_number_of_one_bits::{brian_kernighans_algorithm, builtin, modulo_operator};
use criterion::{black_box, criterion_group, criterion_main, Criterion};

pub fn brian_bench(c: &mut Criterion) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source is governed by General Public License that can be found
// in the LICENSE file.

use bit_manipulation::binary_count_trailing_zeros::{builtin, count_trailing_zeros};
use bitwise::binary_count_trailing_zeros::{builtin, count_trailing_zeros};
use criterion::{black_box, criterion_group, criterion_main, Criterion};

pub fn brute_force_bench(c: &mut Criterion) {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 2 additions & 1 deletion book.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

[book]
title = "数据结构与算法 Rust 语言实现"
title = "数据结构与算法 - Rust 语言实现"
description = ""
authors = ["Shaohua <[email protected]>"]
src = "src"
Expand All @@ -19,6 +19,7 @@ git-repository-url = "https://github.com/xushaohua/TheAlgorithms"
[output.html.playground]
copy-js = true
editable = true
line-numbers = true

[output.html.fold]
enable = true
Expand Down

0 comments on commit 299dc25

Please sign in to comment.