SShortSingh.
Back to feed

Ibex: a C++ execution engine for Polars that speeds up some queries

0
·4 views

Ibex is an alternative execution engine for Polars, built on an approach similar to cuDF's, that runs lazy Polars pipelines via a collect() call with IbexEngine(). Benchmarks show a 2.2x speedup on groupby operations on one core and gains on PDS-H queries, while joins are faster on one core but slower on eight. Of 3,519 queries from Polars' test suite, 2,320 produce results matching Polars exactly, while 1,199 are rejected because Ibex lacks support for list columns and a subset of integer types. Unsupported plans raise NotImplementedError before execution, allowing fallback to Polars' streaming engine. The project is installable via pip from a GitHub release link.

Read the full story at Hacker News

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Python Circuit Breaker Guards Against Slow External APIs Triggering Outages

A sudden load spike slowed a user profile API from hundreds of milliseconds to several seconds, and the system's connection pools were exhausted while waiting on those calls. The resulting backlog blocked new requests and turned a partial external degradation into a full infrastructure outage. The author concludes that slow APIs can be more harmful than failed ones, since waiting on timeouts compounds the damage. To address this, they outline a lightweight circuit breaker built with only the Python standard library plus Pydantic and orjson, requiring fail-fast opening, safe fallbacks, and strict payload validation. The article includes a state diagram of the CLOSED, OPEN, and HALF-OPEN transitions and a CLI validation script.

0
ProgrammingDEV Community ·

Why Internal X.509 Certificates Should Not Be Pasted Into Online Decoders

Engineers often paste internal TLS certificates into online decoders when handshakes fail, which can leak private hostnames, IP ranges, and internal CA structures. Certificate bundles may also accidentally include private keys, adding risk. The article argues that certificates can be parsed locally in the browser, with all processing staying in memory on the user's machine. It also explains that under RFC 6125, a wildcard certificate covers only a single left-most label, so nested subdomains and the apex domain may not match. The author describes a tool that checks hostname coverage against certificate SANs locally before deployment.

0
ProgrammingDEV Community ·

ChronoVision Demo Shows AI Retrieving Clips From Hours-Long Videos Almost Instantly

At the International Conference on Machine Vision 2026, ChronoVision Labs demonstrated a system that locates short clips within a twelve-hour courtroom video in seconds. The approach streams footage into a Programmatic Multimodal Memory that indexes captions, visual features, and audio cues, deferring decisions about relevance until a user submits a question. The demo reportedly helped the company secure a $45 million Series A round and prompted industry pilots. The work also challenges the common practice of compressing long videos into single embeddings at ingest time.

0
ProgrammingDEV Community ·

Why Browser HAR Files Leak Production Secrets and How to Clean Them Client-Side

Sharing a browser network trace (HAR file) for debugging can unintentionally expose session cookies, bearer tokens, signed URLs, request bodies, and internal server details. Common regex-based scrubbers fail because they miss custom authentication headers, secrets embedded in URLs and redirects, and vendor-specific fields that pass through unchanged. The author built the Sunasty HAR Sanitizer, which runs entirely in the browser so no data is uploaded, and extracted its scrubbing core as the har-clean npm package. Instead of filtering out known secrets, the tool constructs a new HAR 1.2 file using explicit allowlists, keeping only validated fields. By default it strips all headers, cookies, query strings, and redirect targets, and rewrites URLs to a redacted form unless the user opts in.