summaryrefslogtreecommitdiff
path: root/core/encode_decode_test.js
AgeCommit message (Collapse)Author
2022-01-07chore: update copyright to 2022 (#13306)Ryan Dahl
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
2021-02-04chore: use strict mode for internal runtime, core, and op_crates js (#9391)Developing
2021-01-10update copyright to 2021 (#9081)Ryan Dahl
2020-11-03build: migrate to dlint (#8176)Bartek Iwańczuk
This commit migrates repository from using "eslint" to "dlint" for linting JavaScript code.
2020-09-09fix(core): panic on big string allocation (#7395)Bartek Iwańczuk
Co-authored-by: Bert Belder <bertbelder@gmail.com>
2020-07-14Use dprint for internal formatting (#6682)David Sherret
2020-03-19perf: Optimize TextEncoder and TextDecoder (#4430)Bartek Iwańczuk
* add tests for "Deno.core.encode" and "Deno.core.decode" for empty inputs * use "Deno.core.encode" in "TextEncoder" * use "Deno.core.decode" in "TextDecoder" * remove "core_decode" and "core_encode" benchmarks
2020-03-15feat: Deno.core.{encode,decode}; standalone UTF-8 encoding/decoding (#4349)Bartek Iwańczuk
This commits add two new methods to "Deno.core" namespace: "encode" and "decode". Those methods are bound in Rust to provide a) fast b) generally available of encoding and decoding UTF-8 strings. Both methods are now used in "cli/js/dispatch_json.ts".