Commit Graph

18 Commits

Author SHA1 Message Date
Asher Gomez
a079dd3fed
docs(bytes,collections): fix doc checker and documentation (#4691)
docs(bytes,collection): fix doc checker and documentation
2024-05-08 16:18:26 +10:00
Yoshiya Hinosawa
3155f0050a
chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
T6
b2115344fd
perf(bytes): improve performance of equals() (#4635)
* improve performance of bytes equals

* fmt

* comment

* comment

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-04-24 00:59:32 +00:00
Asher Gomez
3149cdbc81
fix(bytes): equals() works with subarray (#4630)
fix(bytes): `equals()` works with `.subarray()`
2024-04-23 16:50:21 +09:00
Asher Gomez
3da310774d
docs(bytes): polish documentation (#4594) 2024-04-16 16:59:52 +10:00
Lino Le Van
c46143f0ac
chore: update copyright year (#4046)
* chore: update copyright year

* fix

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-02 08:11:32 +11:00
Martin Fischer
a5b1d80736
chore: fix typos (#3458)
The typos were found with the typos[1] spell checker.  That spell
checker will be incorporated into the CI in a followup PR.

[1]: https://github.com/crate-ci/typos
2023-06-22 01:27:37 +09:00
ayame113
b4239898d6
chore: update copyright header (#3082) 2023-01-03 19:47:44 +09:00
Asher Gomez
b454363655
refactor(bytes): minor tweaks and fixes for full cov. (#2969) 2022-12-03 21:27:32 +09:00
Asher Gomez
e1117a8c0d
refactor(bytes): move to single-export files (#2955) 2022-11-29 15:01:21 +09:00
Yoshiya Hinosawa
b23cf6aac8
Revert "refactor(bytes): remove equalsNaive (#2852)" (#2854) 2022-11-09 00:17:16 +09:00
Asher Gomez
e86f7cdbba
refactor(bytes): remove equalsNaive (#2852) 2022-11-08 18:56:50 +09:00
Mark Ladyshau
4e07cfd3cc
chore(bytes): rename equalsSimd to equals32Bit (#2345) 2022-06-14 18:09:21 +09:00
Eliaz Bobadilla
2ae8becaec
🐛 Export equalSimd and equalsNaive (#2187) 2022-05-03 22:21:16 +02:00
Luca Casonato
d31f404759
BREAKING: improve bytes/ module (#2074)
This commit improves the bytes module. The changes:

- indexOf, lastIndexOf, and includes have been renamed to indexOfNeedle,
  lastIndexOfNeedle, and includesNeedle. This is done to differentiate
  them from the similarly called Uint8Array prototype methods.

- JS doc comments have been re-written to be more extensive, and clearer.
  More examples have been added to them.
2022-03-31 17:36:23 +02:00
Jesse Jackson
58204e6f56
refactor: mark modules as browser compatible (#1972) 2022-03-01 13:25:50 +09:00
Yoshiya Hinosawa
808fe203e0
chore: update copyright header (#1871) 2022-02-02 23:21:39 +09:00
Un Known
812720e704
perf(bytes): switch equals to simd for large byte arrays (#1349) 2021-10-07 02:10:43 +09:00