The Euler-413 challenge that we discussed today in for nDigits=11 should run in about 3 minutes.īut who is going to test on the fastest Zen3 ? Got 10% just coknverting suboutine in macro and calling several times :P Yes, my assembler doesn't work as well as on x86 p > I have a Mac Mini M1, and it seems fast-very fast for some workloads (hard to >Probably, measurably slower than top Rocket Lake, but I didn't look at >Probably somewhat slower than top Tiger Lake, but that comparison is >M1 is slower than top Zen3 bins and about the same or a little slower >Besides, while it's true for x86 CPUs in prev-gen Mac-Mini it's not true > You don't count that M1 is ~25-33% faster single core then any x86 :P >absolute majority of run time spent in native libraries. >either in single thread or in multithread throughput. >fast as i3-8100B but have trouble believing that it could match i7-8700B > I can believe that GHz/Rosetta is able to run 圆4 software as >On Tuesday, Jat 7:16:01 PM UTC+3, Branimir Maksimovic wrote: NbodyxARM: Mach-O 64-bit executable arm64 Nbodyx86: Mach-O 64-bit executable nbody % file nbodyxARM If then # sed : fix color for htop for x in $terms do $ncdir/bin/infocmp -x -A $ncdir/share/terminfo $x > $ terminfo.src &Įlse echo "unable to download $url " fi fi cd - > /dev/nullĮDIT: add sed 's|pairs#0x10000|pairs#32767|' to fix htop color according to info provided by something went wrong.Nbody % g++ nbody.cpp -O3 -o nbody -std=c++11 -target nbody % g++ nbody.cpp -O3 -o nbodyx86 -std=c++11 -target nbody % g++ nbody.cpp -O3 -o nbodyxARM nbody % time. Terms=(alacritty-direct alacritty tmux tmux-256color) Otherwise, override description: set-option -a terminal-overrides ",alacritty:RGB" The alacritty terminal description does not have RGB flag. If you use Alacritty terminal, make sure the $TERM outside tmux is alacritty-direct. And finally, terminal-overrides suports a pattern matching: set-option -a terminal-overrides ",*256col*:RGB" Where XXX is a terminal outside tmux, like xterm-256color. If both are missing, then you need to override terminal description in tmux configuration file: set-option -a terminal-overrides ",XXX:RGB" Also, it must contains Tc or RGB flag in terminfo description: $ tmux info | grep -e RGB -e Tc The $TERM outside tmux must support 256 colors. Make sure that you can use the compiled description: $ infocmp -x tmux-256colorĪnd finally, set default terminal in tmux configuration file: set-option default-terminal "tmux-256color"Īlso, do not forget to enable RGB colors (24 bit colors, or true colors, as you like). "terminfo.src", line 1650, terminal 'pccon+base': enter_reverse_mode but no exit_attribute_modeĭo not worry, all should be fine. If you see something like: "terminfo.src", line 1650, terminal 'pccon+base': enter_bold_mode but no exit_attribute_mode You may also to compile few more infos, it is up to you: $ /usr/bin/tic -xe alacritty-direct,tmux-256color terminfo.src The result is placed into /usr/share/terminfo: $ sudo /usr/bin/tic -xe tmux-256color terminfo.src If you want to use tmux-256color for all users, use sudo. The result is placed into ~/.terminfo: $ /usr/bin/tic -xe tmux-256color terminfo.src Let's download and unpack the latest nucurses terminal descriptions: $ curl -LO & gunzip Īnd compile tmux-256color terminal info. If you see another path to terminal info compiler, you must fix the $PATH for a shell, or uninstall a local ncurses by using a package manager. Make sure to use ncurses which comes with macOS: $ which tic Unfortunately, The latest (6.2) ncurses version does not work properly. But it does not support any italic font style. The screen-256color in most cases is enough and more portable solution. Place this command into ~/.nf or ~/.config/tmux/nf(for version 3.1 and later): set-option default-terminal "screen-256color" Instead of tmux-256color, use screen-256color which comes with system. There're two ways that can help you to solve this problem. MacOS has ncurses version 5.7 which does not ship the terminfo description for tmux.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |