acthp

Results 16 comments of acthp

I can't make sense of the "Not optimized: Inlining bailed out" examples. A function f is defined that adds a property to an obj, and is then called with no...

Hm... if that's the case, I wonder if initializing the property to undefined would help.

I have code that has been reliable for us in beta. The abort code with reference counting works, and I can limit the cache size, which also works. There are...

Also note there are a couple off-by-one bugs in the http code: https://github.com/ucscXena/geotiff.js/commit/715ef8a977a91a390471b3e581870c499a0ec274 Range headers are closed, not half-open. My code will fail w/o this fix.

Here's a screencast of getting the AggregateError on the demo site. ![avivator-error](https://user-images.githubusercontent.com/494506/169851748-b8f2f31a-4297-47d3-8ac5-df6db44f98b2.gif) Image link https://avivator.gehlenborglab.org/?image_url=https://xenapublicimages.s3.amazonaws.com/MEL08-1-1.ome.tif

Regarding blockedsource.js, the code looks very confused, but maybe I don't understand the intent. So, my analysis could be wrong. The first major issue is that it inspects the cache,...

Ok, I'll see what I can put together in the next few days. Sorry about the CORS issue on that image. If you want to test it I believe localhost:8080...

Yes, though I'm mostly focused on writing tests atm. I think there are three groups of bugs: races on the cache, races on the abort, and a suspected off-by-one that...

Agreed. Hiding deps (accounting size to the parent) and sorting by size are critical. Drawing a hairball is not useful. Listing hundreds of deps un-ordered is not useful.

@Dev-Lan I rewrote the fetch code in geotiff, which resolved the various races we were experiencing. Code is here: https://github.com/ucscXena/geotiff.js/commits/ucsc-beta I haven't kept it up to date. I may come...