glossarist / glossarist/iev-data

Re-use regular expressions when parsing IEV termlinks

Open
#147 1 comment 0 reactions 0 assignees View on GitHub
performance
Dominant language
Ruby
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Initializing regular expressions over and over again takes almost 20% of concept generation time, not mentioning additional work for the garbage collector. Some easy improvement to do here, I guess.

![Zrzut ekranu 2021-03-15 o 11 39 35](https://user-images.githubusercontent.com/154287/111141115-70866d00-8583-11eb-8b06-aa64d533f9a5.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points; begin by locating the IEV termlink parsing used during concept generation and profile its regular-expression initialization. Done means reusing the regular expressions rather than recreating them repeatedly, with the reported generation-time overhead reduced.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
performance
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.