[
https://issues.apache.org/jira/browse/GROOVY-9731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Suminda Dharmasena updated GROOVY-9731:
---------------------------------------
Description:
Can a whole program optimiser be added which:
* specialises primitives - e.g. [https://github.com/dotty-linker/dotty]
* rewriting system to implement library-specific optimisation - e.g.
[https://github.com/dotty-linker/dotty]
* converts arrays of objects to primitive arrays in a column-oriented format
like Apache Arrow to accelerate arrays.
* Use unsafe array indexing to speed up array access- e.g.
[https://blog.bramp.net/post/2015/08/26/unsafe-part-2-using-sun.misc.unsafe-to-create-a-contiguous-array-of-objects/,]
[
https://www.slideshare.net/leventov/optimizing-arraybased-data-structures-to-the-limit,|https://www.slideshare.net/leventov/optimizing-arraybased-data-structures-to-the-limit]
[
https://groups.google.com/g/mechanical-sympathy/c/k0qd7dLHFQE|https://groups.google.com/g/mechanical-sympathy/c/k0qd7dLHFQE]
* Better map, list for literals - e.g.
[https://medium.com/@leventov/smoothiemap-2-the-lowest-memory-hash-table-ever-6bebd06780a3]
Rel: https://issues.apache.org/jira/browse/GROOVY-9715
was:
Can a whole program optimiser be added which:
* specialises primitives - e.g. [https://github.com/dotty-linker/dotty]
* rewriting system to implement library-specific optimisation - e.g.
[https://github.com/dotty-linker/dotty]
* converts arrays of objects to primitive arrays in a column-oriented format
like Apache Arrow to accelerate arrays.
* Use unsafe array indexing to speed up array access- e.g.
[https://blog.bramp.net/post/2015/08/26/unsafe-part-2-using-sun.misc.unsafe-to-create-a-contiguous-array-of-objects/,]
[
https://www.slideshare.net/leventov/optimizing-arraybased-data-structures-to-the-limit,
https://groups.google.com/g/mechanical-sympathy/c/k0qd7dLHFQE|https://www.slideshare.net/leventov/optimizing-arraybased-data-structures-to-the-limit]
* Better map, list for literals - e.g.
[https://medium.com/@leventov/smoothiemap-2-the-lowest-memory-hash-table-ever-6bebd06780a3]
Rel: https://issues.apache.org/jira/browse/GROOVY-9715
> Whole Program Optimiser
> -----------------------
>
> Key: GROOVY-9731
> URL: https://issues.apache.org/jira/browse/GROOVY-9731
> Project: Groovy
> Issue Type: Improvement
> Reporter: Suminda Dharmasena
> Priority: Major
>
> Can a whole program optimiser be added which:
> * specialises primitives - e.g. [https://github.com/dotty-linker/dotty]
> * rewriting system to implement library-specific optimisation - e.g.
> [https://github.com/dotty-linker/dotty]
> * converts arrays of objects to primitive arrays in a column-oriented format
> like Apache Arrow to accelerate arrays.
> * Use unsafe array indexing to speed up array access- e.g.
> [https://blog.bramp.net/post/2015/08/26/unsafe-part-2-using-sun.misc.unsafe-to-create-a-contiguous-array-of-objects/,]
> [
> https://www.slideshare.net/leventov/optimizing-arraybased-data-structures-to-the-limit,|https://www.slideshare.net/leventov/optimizing-arraybased-data-structures-to-the-limit]
> [
> https://groups.google.com/g/mechanical-sympathy/c/k0qd7dLHFQE|https://groups.google.com/g/mechanical-sympathy/c/k0qd7dLHFQE]
>
> * Better map, list for literals - e.g.
> [https://medium.com/@leventov/smoothiemap-2-the-lowest-memory-hash-table-ever-6bebd06780a3]
>
>
> Rel: https://issues.apache.org/jira/browse/GROOVY-9715
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
