[Cuis-dev] Float32Array>at: and at:put:
Juan Vuletich
juan at cuis.st
Wed Nov 19 13:10:53 PST 2025
Hi Luciano,
Thanks a lot for the correct approach for Float64Array you just sent me
via private email! I just pushed it to GitHub.
Cheers!
On 2025-11-19 11:04 AM, Luciano Notarfrancesco via Cuis-dev wrote:
> Oh, I just realized in Cuis Float64Array is variableWordSubclass, but
> it should be variableDoubleWord right? And the we wouldn’t need to
> convert endianness either. Or you did that for compatibility with 32
> bit images?
> Anyway, I don’t need Float64Array for now, I’m only using Float32Array.
>
> On Wed, Nov 19, 2025 at 20:38 Juan Vuletich <juan at cuis.st> wrote:
>
> Hi Luciano,
>
> This is neat!
>
> Works perfectly for Float32Array. However the numbered primitives
> don't work for Float64Array. I added another cs to restore the old
> behavior for them. Now @GitHub.
>
> Thanks!
>
> On 2025-11-19 7:37 AM, Luciano Notarfrancesco via Cuis-dev wrote:
>> Please review...
>>
>> On Wed, Nov 19, 2025 at 5:11 PM Luciano Notarfrancesco
>> <luchiano at gmail.com> wrote:
>>
>> Found it, primitives 238 and 239, the performance almodt
>> doubled :)
>>
>> On Wed, Nov 19, 2025 at 10:06 Luciano Notarfrancesco
>> <luchiano at gmail.com> wrote:
>>
>> I would imagine there’s a bytecode for this, and that at
>> some point with Sista we’ll be able to optimize loops
>> that access float arrays, but calling the plugin seems to
>> get in the way…
>>
>> On Wed, Nov 19, 2025 at 09:52 Luciano Notarfrancesco
>> <luchiano at gmail.com> wrote:
>>
>> We're still calling the FloatArrayPlugin for
>> accessing Float32Array. But now that we have
>> immediate floats, isn't there a way to do this better
>> (faster)?
>>
>>
> --
> Juan Vuletich
> www.cuis.st <http://www.cuis.st>
> github.com/jvuletich <http://github.com/jvuletich>
> researchgate.net/profile/Juan-Vuletich <http://researchgate.net/profile/Juan-Vuletich>
> independent.academia.edu/JuanVuletich <http://independent.academia.edu/JuanVuletich>
> patents.justia.com/inventor/juan-manuel-vuletich <http://patents.justia.com/inventor/juan-manuel-vuletich>
>
>
--
Juan Vuletich
www.cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20251119/77d7dd58/attachment.htm>
More information about the Cuis-dev
mailing list