Skip to content

rebuild game-of-life + update n-body results #1123

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 29, 2020
Merged

rebuild game-of-life + update n-body results #1123

merged 3 commits into from
Feb 29, 2020

Conversation

MaxGraey
Copy link
Member

@MaxGraey MaxGraey commented Feb 25, 2020

N-body updated Results

Target Time, ms Size, KB
AssemblyScript WASM 1602 1.6
AssemblyScript ASMJS 2368 10*
JavaScript 1616 5*
Rust WASM 1618 2

@MaxGraey MaxGraey changed the title rebuild game-of-life example + minor refactorings rebuild game-of-life + update n-body results Feb 26, 2020
@@ -3,43 +3,49 @@
// Configuration imported from JS
import { BGR_ALIVE, BGR_DEAD, BIT_ROT } from "./config";

var w: i32, h: i32, s: i32;
var width: i32, height: i32, offset: i32;
Copy link
Member

@dcodeIO dcodeIO Feb 26, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Initially, s represented size here. Both that and offset don't seem ideal, any other ideas? sizeOffset?

@MaxGraey MaxGraey requested a review from dcodeIO February 28, 2020 02:59
@dcodeIO dcodeIO merged commit b433bc4 into AssemblyScript:master Feb 29, 2020
@MaxGraey MaxGraey deleted the rebuild-game-of-life branch February 29, 2020 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants