Comments (2)
The range2uniq
(struct HpxUniq2DepthIdxIter
) returns a iterator ordered first by ascending depth and then by cell index.
It requires the full input MOC to be in memory.
The new struct CellMOCIteratorFromRanges
is an iterator decorator transforming ranges in cells. The resulting iterator is ordered following the depth-independent order and works in streaming mode.
Collecting and ordering the output of CellMOCIteratorFromRanges
seems to be 3x faster than collecting HpxUniq2DepthIdxIter
. See bench.
from mocpy.
Done (x5 faster according to MOCLibRust bench) in this commit
from mocpy.
Related Issues (20)
- numpy 2.0 will be out soon
- remove python 3.7 (end of life was June 2023)
- Wrong frame for wide fov plots HOT 1
- TypeError: argument 'lon': 'float64' object cannot be converted to 'PyArray<T, D>' HOT 3
- Improve from_fits_images when working with MEF HOT 1
- Create a MOC from STC-S string HOT 4
- CI fails for external contributors HOT 5
- Make deprecated write call save HOT 1
- `new_empty` is not implemented for STMOCs
- rewrite doc of MOC.from_ methods
- (corner case) Ban negative indices HOT 6
- MOC to STC-S HOT 3
- MOC overlap with a MRM: calculation of proba in the intersection HOT 14
- MOCServer Cancells request on HST coverage (MOC too big) HOT 3
- MOC sky area HOT 5
- mocpy probability calculation when using multiprocessing HOT 21
- garbage collector stumbles when a MOC is pickled
- Parallelized (on the Rust side) MOC generation HOT 25
- Remove deprecated plot methods
- Multiple Subplotting Issue/help HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mocpy.