Please thank littledan and the other champions for (in short) doing everything right.
I'm convinced static ("v3") decorators are not the way forward.
I think the concrete disadvantages of a static design should be taken more into account:
try { | |
var P60 = 2; | |
while (P60 !== 1) { | |
switch (P60) { | |
case 2: | |
(function t90() { | |
var X60 = 2; | |
while (X60 !== 5) { | |
switch (X60) { | |
case 2: |
Here's one of the ORIGINALRANGE changesets:
$ hg log --graph --hidden -r 0262c62d81e5
x changeset: 528466:0262c62d81e5
~ parent: 528452:47e514e01c5c
user: Jason Orendorff <[email protected]>
date: Thu Feb 21 09:51:45 2019 -0600
obsolete: rewritten using prune as 528566:e7fd0ec90ddf
obsolete: rewritten using pick as 528814:b3cce8cc8cf8
import random | |
class IndexedList: | |
""" Like a list, but append-only, values must be hashable, and duplicates are ignored. """ | |
def __init__(self, values=None): | |
self._list = [] | |
self._index = {} | |
if values is not None: | |
for v in values: |
Let's talk about JavaScript.
Here are five new language features that are available in Firefox Nightly. These are new things that weren't there the last time we did this.
I'm going to move quickly, because although the things are small, there are several of them.
================================================================================ 2018-11-29 09:36:47 | |
~/work/gecko$ hg diff | |
================================================================================ 2018-11-29 09:36:48 | |
~/work/gecko$ hg up -r central | |
13 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
================================================================================ 2018-11-29 09:36:55 | |
~/work/gecko$ mach bootstrap |
var total = 0; | |
var points = 0; // points so far in the current round | |
var draw = 0; // how many cubes you've drawn so far in the current round | |
var round = 1; | |
while (round < 20000) { | |
print("round", round); | |
points = 0; |
changeset: 511721:b9b50b3dec73 | |
tag: tip | |
parent: 511719:8584c117d229 | |
user: Jason Orendorff <[email protected]> | |
date: Mon Nov 12 18:08:38 2018 -0600 | |
files: js/public/Stream.h js/src/builtin/Stream.cpp js/src/builtin/Stream.h js/src/jsapi-tests/testReadableStream.cpp js/src/vm/Runtime.cpp js/src/vm/Runtime.h | |
description: | |
No bug yet - Abstract base class for external underlying sources. r?baku,jwalden | |
use std::str::FromStr; | |
use crate::ast::{self, ArithmeticOp, CompareOp}; | |
use crate::location; | |
use crate::token; | |
#[LALR] | |
grammar; | |
match { | |
"{", "}", "(", ")", ":", "@", ",", |
mod sorting { | |
#[test] | |
fn sorting_integers() { | |
// Sorting a vector of integers is easy. | |
let mut integers = vec![8, 6, 7, 5, 3, 0, 9]; | |
integers.sort(); | |
assert_eq!(integers, vec![0, 3, 5, 6, 7, 8, 9]); | |
} | |
#[allow(dead_code)] |