Click here to Skip to main content
14,492,955 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralWSO CCC OTD 2020-02-03 Pin
OriginalGriff2-Feb-20 21:42
mveOriginalGriff2-Feb-20 21:42 
GeneralRe: WSO CCC OTD 2020-02-03 Pin
pkfox2-Feb-20 22:08
professionalpkfox2-Feb-20 22:08 
GeneralRe: WSO CCC OTD 2020-02-03 - we have a winner! Pin
OriginalGriff2-Feb-20 22:14
mveOriginalGriff2-Feb-20 22:14 
GeneralRe: WSO CCC OTD 2020-02-03 - we have a winner! Pin
musefan2-Feb-20 22:41
Membermusefan2-Feb-20 22:41 
GeneralRe: WSO CCC OTD 2020-02-03 - we have a winner! Pin
OriginalGriff2-Feb-20 22:57
mveOriginalGriff2-Feb-20 22:57 
GeneralI might need to optimize this XD Pin
honey the codewitch2-Feb-20 6:02
mvahoney the codewitch2-Feb-20 6:02 
GeneralRe: I might need to optimize this XD Pin
Eddy Vluggen2-Feb-20 7:02
professionalEddy Vluggen2-Feb-20 7:02 
GeneralRe: I might need to optimize this XD Pin
honey the codewitch2-Feb-20 7:28
mvahoney the codewitch2-Feb-20 7:28 
Yes I do and the performance is god awful. This is for a compound regular expression rather than a web browser, so this is more than a little excessive. Normally the machine will spawn like 2 or 3 while it's doing normal character scans, but when it has to split it quickly grows.

The reason it spawns more than one is disjunctions in the regex, like foo|bar - it spawns a fiber to scan each one. In truth it spawns slightly more than 1 fiber on average because save points spawn a fiber. Plus each fiber only lives for the duration of one character.
Real programmers use butterflies

GeneralRe: I might need to optimize this XD Pin
Eddy Vluggen2-Feb-20 7:43
professionalEddy Vluggen2-Feb-20 7:43 
GeneralRe: I might need to optimize this XD Pin
honey the codewitch2-Feb-20 9:29
mvahoney the codewitch2-Feb-20 9:29 
GeneralRe: I might need to optimize this XD Pin
Jon McKee2-Feb-20 12:54
professionalJon McKee2-Feb-20 12:54 
GeneralRe: I might need to optimize this XD Pin
honey the codewitch2-Feb-20 15:09
mvahoney the codewitch2-Feb-20 15:09 
GeneralRe: I might need to optimize this XD Pin
Greg Utas2-Feb-20 10:21
professionalGreg Utas2-Feb-20 10:21 
GeneralRe: I might need to optimize this XD Pin
honey the codewitch2-Feb-20 11:15
mvahoney the codewitch2-Feb-20 11:15 
GeneralRe: I might need to optimize this XD Pin
Greg Utas2-Feb-20 11:29
professionalGreg Utas2-Feb-20 11:29 
GeneralRe: I might need to optimize this XD Pin
honey the codewitch2-Feb-20 11:46
mvahoney the codewitch2-Feb-20 11:46 
GeneralRe: I might need to optimize this XD Pin
Jörgen Andersson2-Feb-20 20:35
professionalJörgen Andersson2-Feb-20 20:35 
GeneralRe: I might need to optimize this XD Pin
honey the codewitch2-Feb-20 23:08
mvahoney the codewitch2-Feb-20 23:08 
GeneralRe: I might need to optimize this XD Pin
Jörgen Andersson2-Feb-20 23:09
professionalJörgen Andersson2-Feb-20 23:09 
GeneralRe: I might need to optimize this XD Pin
honey the codewitch2-Feb-20 23:12
mvahoney the codewitch2-Feb-20 23:12 
GeneralRe: I might need to optimize this XD Pin
Jörgen Andersson2-Feb-20 23:17
professionalJörgen Andersson2-Feb-20 23:17 
GeneralRe: I might need to optimize this XD Pin
honey the codewitch2-Feb-20 23:24
mvahoney the codewitch2-Feb-20 23:24 
GeneralRe: I might need to optimize this XD Pin
Jörgen Andersson2-Feb-20 23:36
professionalJörgen Andersson2-Feb-20 23:36 
GeneralRe: I might need to optimize this XD Pin
honey the codewitch2-Feb-20 23:57
mvahoney the codewitch2-Feb-20 23:57 
GeneralRe: I might need to optimize this XD Pin
Jörgen Andersson2-Feb-20 23:58
professionalJörgen Andersson2-Feb-20 23:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.