1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00
denoland-deno/cli/tsc/dts
Divy Srivastava 53606de634
BREAKING(ffi/unstable): always return u64 as bigint (#23981)
The mixed `number | bigint` representation was useful optimization for
pointers. Now, pointers are represented as V8 externals. As part of the
FFI stabilization effort we want to make `bigint` the only
representation for `u64` and `i64`.

BigInt representation performance is almost on par with mixed
representation with the added benefit that its less confusing and users
don't need manual checks and conversions for doing operations on the
value.

```
cpu: AMD Ryzen 5 7530U with Radeon Graphics
runtime: deno 1.43.6+92a8d09 (x86_64-unknown-linux-gnu)

file:///home/divy/gh/ffi/main.ts
benchmark                 time (avg)        iter/s             (min … max)       p75       p99      p995
-------------------------------------------------------------------------- -----------------------------
nop                        4.01 ns/iter 249,533,690.5     (3.97 ns … 10.8 ns) 3.97 ns 4.36 ns 9.03 ns
ret bigint                 7.74 ns/iter 129,127,186.8    (7.72 ns … 10.46 ns) 7.72 ns 8.11 ns 8.82 ns
ret i32                    7.81 ns/iter 128,087,100.5    (7.77 ns … 12.72 ns) 7.78 ns 8.57 ns 9.75 ns
ret bigint (add op)       15.02 ns/iter  66,588,253.2   (14.64 ns … 24.99 ns) 14.76 ns 19.13 ns 19.44 ns
ret i32    (add op)       12.02 ns/iter  83,209,131.8   (11.95 ns … 18.18 ns) 11.98 ns 13.11 ns 14.5 ns
```
2024-05-28 09:31:09 +05:30
..
lib.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.decorators.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.decorators.legacy.d.ts fix: upgrade to TypeScript 5.0.3 (#18532) 2023-03-31 17:09:04 +00:00
lib.deno.ns.d.ts fix(ext/websocket): change default idleTimeout to 30s (#23985) 2024-05-26 10:46:05 +05:30
lib.deno.shared_globals.d.ts docs: update categories to match new planned sitemap (#23677) 2024-05-05 18:56:55 -07:00
lib.deno.unstable.d.ts BREAKING(ffi/unstable): always return u64 as bigint (#23981) 2024-05-28 09:31:09 +05:30
lib.deno.window.d.ts docs: update categories to match new planned sitemap (#23677) 2024-05-05 18:56:55 -07:00
lib.deno.worker.d.ts docs: update categories to match new planned sitemap (#23677) 2024-05-05 18:56:55 -07:00
lib.deno_webgpu.d.ts refactor(docs): use @experimental instead of @tags unstable (#23884) 2024-05-22 04:31:51 -07:00
lib.dom.asynciterable.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
lib.dom.d.ts feat(ext/fetch): Request.bytes() and Response.bytes() (#23823) 2024-05-23 00:27:58 +00:00
lib.dom.extras.d.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
lib.dom.iterable.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
lib.es5.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
lib.es6.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2015.collection.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2015.core.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2015.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2015.generator.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2015.iterable.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2015.promise.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2015.proxy.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2015.reflect.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2015.symbol.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2015.symbol.wellknown.d.ts feat: TypeScript 5.2 (#20425) 2023-09-09 15:03:21 -04:00
lib.es2016.array.include.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2016.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
lib.es2016.full.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2016.intl.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
lib.es2017.d.ts feat: TypeScript 5.2 (#20425) 2023-09-09 15:03:21 -04:00
lib.es2017.date.d.ts feat: TypeScript 5.2 (#20425) 2023-09-09 15:03:21 -04:00
lib.es2017.full.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2017.intl.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2017.object.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2017.sharedmemory.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2017.string.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2017.typedarrays.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2018.asyncgenerator.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2018.asynciterable.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2018.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2018.full.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
lib.es2018.intl.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
lib.es2018.promise.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2018.regexp.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2019.array.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2019.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2019.full.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
lib.es2019.intl.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2019.object.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2019.string.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2019.symbol.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2020.bigint.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2020.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2020.date.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2020.full.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
lib.es2020.intl.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
lib.es2020.number.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2020.promise.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2020.sharedmemory.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2020.string.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
lib.es2020.symbol.wellknown.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2021.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2021.full.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
lib.es2021.intl.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
lib.es2021.promise.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
lib.es2021.string.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2021.weakref.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2022.array.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2022.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2022.error.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2022.full.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
lib.es2022.intl.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
lib.es2022.object.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2022.regexp.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2022.sharedmemory.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2022.string.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2023.array.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.es2023.collection.d.ts feat: TypeScript 5.2 (#20425) 2023-09-09 15:03:21 -04:00
lib.es2023.d.ts feat: TypeScript 5.2 (#20425) 2023-09-09 15:03:21 -04:00
lib.es2023.full.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
lib.esnext.array.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.esnext.collection.d.ts feat: type declarations for new Set methods (#23090) 2024-03-26 21:59:24 -04:00
lib.esnext.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
lib.esnext.decorators.d.ts feat: TypeScript 5.2 (#20425) 2023-09-09 15:03:21 -04:00
lib.esnext.disposable.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
lib.esnext.full.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
lib.esnext.intl.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.esnext.object.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
lib.esnext.promise.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
lib.scripthost.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.webworker.asynciterable.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
lib.webworker.d.ts feat(ext/fetch): Request.bytes() and Response.bytes() (#23823) 2024-05-23 00:27:58 +00:00
lib.webworker.importscripts.d.ts feat: TypeScript 5.3 (#21480) 2023-12-06 18:49:34 -05:00
lib.webworker.iterable.d.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
typescript.d.ts fix: upgrade TypeScript from 5.4.3 to 5.4.5 (#23740) 2024-05-08 13:54:56 -04:00