Project

General

Profile

Actions

Architecture #19834

closed

Improve relayd compilation time by 30-40%

Added by Alexis Mousset almost 3 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Relay server or API
Target version:
Effort required:
Name check:
To do
Fix check:
To do
Regression:

Description

Use BoxedFilter in warp to avoid monomorphization cost, in exchange for a very small runtime cost which should absolutely acceptable.

https://rust-classes.com/chapter_6_3.html

the crate compilation time goes from 50 to 30 seconds, and the incremental build time from 30 to 20s

Actions

Also available in: Atom PDF