Skip to content

Instantly share code, notes, and snippets.

View x8x's full-sized avatar
💥

FLuX x8x

💥
View GitHub Profile
@hiiamboris
hiiamboris / benchcollect.red
Created May 19, 2018 16:46
A `collect` mezzanine variant of improved performance and RAM footprint
Red []
; outright improvement of collect mezzanine's performance and RAM footprint
; the compiled default "collect"
collect1: :collect
; the interpreted default "collect"
collect2: func spec-of :collect body-of :collect
@dockimbel
dockimbel / walk-files.red
Created March 21, 2018 08:41
Red source files header updater
Red []
dive: function [path action [block!] filter [block!]][
bind action 'path
if filter [bind filter 'path]
foreach file read path [
if dir? file [dive append copy path file action filter]
if any [not filter do filter][do action]
]