Juniper Tyree
Juniper Tyree
The code is part of a larger repo, but I pulled it into a snippet: https://gist.github.com/juntyr/dbe5a32707e0b154a7d7c5d9e65cfe9e#file-instcnt-rs-L176-L197 My implementation must be runtime-independent, platform-independent, and stable and is thus implemented as a...
> What you describe with your gas metering sounds extremely similar to what has been done some years ago in the `wasm-instrument` crate, together with other Wasm instrumentation such as...
Cool! Feel free to submit a PR that adds it to the README
I also just stumbled across this bug. A rogue plotting script is changing the longitude of a map internally, and even when passing the script a da.copy(), the da's own...
Yes, I think your second version is correct and should work
@rkanati What examples would you like to see?
Implementing support for this in RON directly would be possible but would likely require quite some refactoring, though in principle we already have all pretty-printing tools to produce pretty one-liners...
You're likely right, an optimised implementation would have O(N) just from the necessary copying, bracket counting would also be O(N), deciding when to collapse could maybe be done in at...
I just ran into this - it would be very useful to be able to e.g. `da.transpose("time", "lon", "lat")` to a common coordinate order
Hah, oh no ... So when we're parsing a number that could be f32 or f64, we first parse it as f64 and then cast to f32 and back to...